{include file="./../application/web/view/laytpl/header.html"/}
	<!--banner-->
	<div class="banner">
		<img src="/static/images/web/banner.jpg" />
		<div class="index-notice">
			<i></i>
			<marquee hspace="50" vspace="20" loop="-1" scrollamount="10" scrolldelay="200" onMouseOut="this.start()" onMouseOver="this.stop()">
				{volist name="nicto" id='ic'}
					{$i}.{$ic.Bulletin}
				{/volist}
			</marquee>
		</div>
	</div>
	<div class="reds"></div>
	<!--主体内容-->
	<div class="sec-box">
		<section class="cont">
			<!--公司团队-->
			<div class="team">
				<div class="containers">
					<div class="team-list">
						<div class="team-title">
							<img src="/static/images/web/title.png"/>
							<!--<a class="mores">more</a>-->
						</div>
						<div class="team-text">
							<p>
							  {$webdata.aboutus}
							</p>
						</div>
					</div>
				</div>
			</div>
			<div class="containers">
				<img class="ren" src="/static/images/web/meinv.png" />
			</div>
			<!--彩票信息-->
			<div class="lott">
				<div class="lott-title">
					<img src="/static/images/web/caipiao.png" />
				</div>
				<div class="containers dowebok">
					<ul class="lott-list">
						{volist name="lettr" id="io"}
							<li>
								<a href="javascript:void(0);" style="cursor:context-menu;">
									<img src="{$io.imgurl}" />
									<div class="lott-text">
										<h3>{$io.title}</h3>
										<p>{$io.showName}</p>
									</div>
								</a>
							</li>
						{/volist}
					</ul>
				</div>
			</div>
			<!--其他信息-->
			<div class="other">
				<div class="containers">
					<div class="title"><img src="/static/images/web/other.png" /></div>
					<div class="other-cont">
						<div class="other-l fl">
							<div class="other-title">彩票资讯</div>
							<div id="myCarousel" class="daili carousel slide">
								<!-- 轮播（Carousel）项目 -->
								<div class="carousel-inner">
									<div class="item active">
										<ul>
											{empty name="agentlist['list']"}
												<td colspan="20">暂无数据</td>
											{/empty}
											{volist name="agentlist['list']" id="cv"}
												<li>
													<a href="javascript:void(0);" onclick="desc(this);" data-id="{$cv.id}"><span>{$cv.titile}</span><label>{$cv.addTime}</label></a>
												</li>
											{/volist}
										</ul>
									</div>
									<!--<div class="item">-->
										<!--<ul>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临2</span><label>2016-09-17</label></a>-->
											<!--</li>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临2</span><label>2016-09-17</label></a>-->
											<!--</li>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临2</span><label>2016-09-17</label></a>-->
											<!--</li>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临2</span><label>2016-09-17</label></a>-->
											<!--</li>-->
										<!--</ul>-->
									<!--</div>-->
									<!--<div class="item">-->
										<!--<ul>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临3</span><label>2016-09-16</label></a>-->
											<!--</li>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临3</span><label>2016-09-16</label></a>-->
											<!--</li>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临3</span><label>2016-09-16</label></a>-->
											<!--</li>-->
											<!--<li>-->
												<!--<a href="#"><span>春运即将来临春运即将来临春运即将来临</span><label>2016-09-16</label></a>-->
											<!--</li>-->
										<!--</ul>-->
									<!--</div>-->
								</div>
								<!-- 轮播（Carousel）导航 -->
								<div class="banner-btn">
									<!--<a class="carousel-control left" href="#myCarousel" data-slide="prev">-->
										<!--<img src="/static/images/web/sanjiao.png" />-->
									<!--</a>-->
									<!--<a class="carousel-control right" href="#myCarousel" data-slide="next">-->
										<!--<img src="/static/images/web/sanjiao.png" />-->
									<!--</a>-->
								</div>
							</div>
						</div>
						<div class="other-r fr">
							<div class="other-title">{$webdata.numbtitle}</div>
							<h1 class="jiujiu">{$webdata.numbers}</h1>
								<img class="other-img" src="{$webdata.imgcurl}" />
						</div>
						<div class="tyui" style="position: relative;top: -16px;width: 500px;height: 100px;">
							{php}echo htmlspecialchars_decode($page);{/php}
						</div>
					</div>
				</div>
			</div>
			<!--弹窗-->
			<div class="act_detail" style="display: none;">
				<div class="actde-cont">
					<h1 class="ior"><label>平台公告</label><span>×</span></h1>
					<div class="index-vid">

					</div>
				</div>
			</div>
		</section>
	</div>
	<!--底部-->
{include file="./../application/web/view/laytpl/footer.html"/}
</div>
</body>
<script type="text/javascript" src="/static/plugins/layui/layui.js"></script>
<script type="text/javascript" src="/static/js/web/jquery.liMarquee.js"></script>
<script>
	layui.use(['layer','form','paging'], function () {
		var $ = layui.jquery,
				layer = layui.layer,
				form = layui.form();
	});
	function desc(_this){
		var id = $(_this).attr("data-id");
		$.ajax({
			type:"post",
			dataType: "json",
			url: "/web/index/sectrt",
			data:{
				id:id
			},
			success:function(res){
				if(res.status==0){
					var title = res.data['titile'];
					var content = res.data['content'];
					$(".act_detail").css("display","block");
					$(".ior label").html(title);
					$(".index-vid").html(content);
				}else{
					layer.msg(res.msg);
				}
			}
		});
	}
	$(function(){ //初始化
		$('.dowebok').liMarquee({
			direction: 'up'
		});
	});
</script>
</html>